package com.eastfair.venueservice.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 实体类
 * 展会服务商关系
 * </p>
 *
 * @author linan
 * @since 2022-07-15
 */
@Data
@ApiModel(value = "ExhibitionServiceProviderDTO", description = "展会服务商关系")
public class ExhibitionServiceProviderDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 展会id
     */
    @ApiModelProperty(value = "展会id")
    private Long exhibitionManageId;
    /**
     * 服务商类型
     */
    @ApiModelProperty(value = "服务商类型")
    @Size(max = 255, message = "服务商类型长度不能超过255")
    private String serviceProviderType;
    /**
     * 服务商id
     */
    @ApiModelProperty(value = "服务商id")
    private Long serviceProviderId;
    /**
     * 服务商名称
     */
    @ApiModelProperty(value = "服务商名称")
    private String serviceProviderName;

    /**
     * 展会服务商场地关系
     */
    @ApiModelProperty(value = "展会服务商场地关系")
    private List<ServiceProviderSpaceDTO> serviceProviderSpaceList;
}
